<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/1/28
  Time: 20:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>加班申请</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<script src="/layui/layui.js" charset="utf-8"></script>
<script src="/js/jquery-3.4.1.js"></script>
<script src="http://www.jq22.com/jquery/jquery-migrate-1.2.1.min.js"></script>
<script src="/js/jquery.jqprint-0.3.js"></script>
<script src="/js/common.js"></script>
<body style="padding: 10px;background-color: rgb(236,240,245);">
    <h1 style="margin-bottom: 20px;">加班申请</h1>
    <!-- 表单区+返回按钮 -->
    <div id="printContainer" style="background-color: white;">
        <h1 style="text-align: center;margin-bottom: 50px;color: #1E9FFF;padding-top: 30px">加班申请单</h1>
        <form class="layui-form" action="" style="padding-left: 110px;">
            <!-- 第一排 -->
            <div class="layui-form-item">
                <div class="layui-inline" style="width: 60%">
                    <label class="layui-form-label" style="color: #1E9FFF">标题</label>
                    <div class="layui-input-block">
                        <input value="${overtimeVo.process_title}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                    </div>
                </div>
                <div class="layui-inline" style="width: 30%">
                    <label class="layui-form-label" style="color: #1E9FFF">紧急程度</label>
                    <div class="layui-input-block">
                        <input value="${overtimeVo.process_status_name}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                    </div>
                </div>
            </div>
            <!-- 第二排 -->
            <div class="layui-form-item">
                <div class="layui-inline" style="width: 30%">
                    <label class="layui-form-label" style="color: #1E9FFF">申请人员</label>
                    <div class="layui-input-block">
                        <input value="${overtimeVo.real_name}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                    </div>
                </div>
                <div class="layui-inline" style="width: 30%">
                    <label class="layui-form-label" style="color: #1E9FFF">提单部门</label>
                    <div class="layui-input-block">
                        <input value="${overtimeVo.dept_name}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                    </div>
                </div>
                <div class="layui-inline" style="width: 30%">
                    <label class="layui-form-label" style="color: #1E9FFF">申请日期</label>
                    <div class="layui-input-block">
                        <input value="${overtimeVo.apply_time}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                    </div>
                </div>
            </div>
            <!-- 第三排 -->
            <div style="border: 1px solid #1E9FFF;width: 90%;padding: 10px">
                <h3 style="border-bottom: 1px solid #B0B0B0;margin-bottom: 10px">
                    <label class="" style="color: #1E9FFF;border-bottom: 2px solid">申请明细</label>
                </h3>
                <div class="layui-form-item">
                    <div class="layui-inline" style="width: 30%">
                        <label class="layui-form-label" style="color: #1E9FFF">加班类型</label>
                        <div class="layui-input-block">
                            <input value="${overtimeVo.overtime_type_value}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                        </div>
                    </div>
                    <div class="layui-inline" style="width: 30%">
                        <label class="layui-form-label" style="color: #1E9FFF">开始日期</label>
                        <div class="layui-input-block">
                            <input value="${overtimeVo.start_time}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                        </div>
                    </div>
                    <div class="layui-inline" style="width: 30%">
                        <label class="layui-form-label" style="color: #1E9FFF">结束日期</label>
                        <div class="layui-input-block">
                            <input value="${overtimeVo.end_time}" readonly class="layui-input" style="border: 0px;border-bottom: 1px solid #e2e2e2">
                        </div>
                    </div>
                </div>
                <table class="layui-table">
                    <colgroup>
                        <col width="170">
                    </colgroup>
                    <tbody>
                    <tr style="height: 70px">
                        <td class="layui-bg-blue"><h3>加班事由</h3></td>
                        <td>${overtimeVo.overtime_reason}</td>
                    </tr>
                    </tbody>
                </table>
                <h3 style="border-bottom: 1px solid #B0B0B0;margin-bottom: 10px">
                    <label class="" style="color: #1E9FFF;border-bottom: 2px solid">审批意见</label>
                </h3>
                <table class="layui-table">
                    <colgroup>
                        <col width="170">
                    </colgroup>
                    <tbody>
                    <tr style="height: 70px">
                        <td class="layui-bg-blue"><h3>部门经理意见</h3></td>
                        <td>${overtimeVo.manager_advice}</td>
                    </tr>
                    <tr style="height: 70px">
                        <td class="layui-bg-blue"><h3>人事经理意见</h3></td>
                        <td>${overtimeVo.hr_advice}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </form>
    </div>
    <!-- 功能按钮 -->
    <div class="layui-form-item" style="padding: 15px 70px;text-align: right">
        <div class="layui-inline">
            <button type="button" class="layui-btn layui-btn-primary" onclick="history.go(-1)">
                <i class="layui-icon layui-icon-left" style="margin-right: 5px;">返回</i>
            </button>
            <button onclick="printForm()" type="button" class="layui-btn layui-btn-normal">
                <i class="layui-icon layui-icon-print" style="margin-right: 5px;">打印</i>
            </button>
        </div>
    </div>
</body>
<script>
</script>
</html>
